/**
 *@des 登录注册相关接口
 *@author hjp1011 21931118@qq.com
 *@blog http://www.wephp.com
 *@date 2019/11/15 15:14:47
 *@param login.js
 */

import util from '@/common/utils'
export function login(mobile,pwd){
	return util.httpGet('/v1/imsHcCmsCounselor/login',{"mobile":mobile,"pwd":pwd},function(res){
		uni.showToast({
			title: res.data.msg,
			icon:'none',
			duration: 3000
		});	
	},function(res){
		uni.showToast({
			title: '用户不存在或者密码错误!',
			icon:'none',
			duration: 3000
		});	
	},null)
};
